﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel.Web;

namespace TestApp
{
    [DataContract]
    public class Customer
    {
        [DataMember]
        public int ID { get; set; }
        [DataMember]
        public string CustomerName { get; set; }
        [DataMember]
        public int Age { get; set; }

        public Customer()
        { }
        public Customer(int id, string name, int age)
        {
            ID = id;
            CustomerName = name;
            Age = age;
        }
    }
}
